package com.example.demosimpletest;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = {"com.example.demosimpletest", "org.java.test"}) // 添加所有需要扫描的包
public class DemoSimpleTestApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoSimpleTestApplication.class, args);
    }

}
